package com.budweiser.model.page;

import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;
import java.util.List;

@Data
@NoArgsConstructor
public class Page<T> implements Serializable {
	private static final long serialVersionUID = -275582248840137389L;
	private int count;
	private String msg;
	private int code = 0;
	private List<T> data;

	public Page(int count, List<T> data) {
		super();
		this.count = count;
		this.data = data;
	}

}
